package com.syx.entity;

import java.util.Arrays;

public class Color {
    private Integer coid;
    private String coname;
    private Integer[] coids;

    public Color() {
    }

    public Color(Integer coid, String coname, Integer[] coids) {
        this.coid = coid;
        this.coname = coname;
        this.coids = coids;
    }

    public Integer getCoid() {
        return coid;
    }

    public void setCoid(Integer coid) {
        this.coid = coid;
    }

    public String getConame() {
        return coname;
    }

    public void setConame(String coname) {
        this.coname = coname;
    }

    public Integer[] getCoids() {
        return coids;
    }

    public void setCoids(Integer[] coids) {
        this.coids = coids;
    }

    @Override
    public String toString() {
        return "Color{" +
                "coid=" + coid +
                ", coname='" + coname + '\'' +
                ", coids=" + Arrays.toString(coids) +
                '}';
    }
}
